package dao;

import java.util.List;

import vo.Commodity;
import vo.CommodityItem;
import vo.OrderForm;
import vo.Store;

public interface StoreDao {
	public int addStu(String mail,String passwd );
	public Store findStu(String mail,String passwd);
	public int post(Store s);
	public Store getInfoByEmail(String email, Store s);
	public int updateStatus(String email, int status);
	public List<Commodity> findFood(String email);
	public int insertFood(Commodity commodity);
	public int deleteFood(Commodity commodity);
	public Commodity findFoodById(int id);
	public List<OrderForm> findStoreOrderForms(String storeId);
	public List<CommodityItem> findItemsByOrderId(String orderNumber);
	public boolean updateMailAndTel(Store store, String newemail);
	public int updatePasswd(String email, String newpassword);
	int deleteTouSuByOrderId(Integer orderId);
		
}
